import request from '@/utils/request'

export function memberList(params) {
  return request({
    url: '/admin/member/list',
    method: 'get',
    params
  })
}

export function allnames() {
  return request({
      url: '/admin/member/allnames/list',
      method: 'get',
  })
}

export function memberGroupids(params) {
  return request({
      url: '/admin/member/groupids',
      method: 'get',
      params
  })
}

export function durationOnemember(params) {
  return request({
      url: 'admin/member/duration/onemember',
      method: 'get',
      params
  })
}
